import { createPinia } from 'pinia';

// store持久化插件防止页面刷新的时候数据丢失
import piniaPluginPersist from 'pinia-plugin-persist';

const store = createPinia().use(piniaPluginPersist);
// store.use(piniaPluginPersist)

export default store;